#ifndef ZQ_FONT_18X18_H
#define ZQ_FONT_18X18_H
#include<zq_font_base.h>

namespace GUI
{
    namespace Font
    {
        // 所有字模数据数组定义
        namespace detail
        {
            const unsigned char fonts_18x18_0[] = { 0x00, 0x00, 0x00, 0x10, 0x1C, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x7C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
            const unsigned char fonts_18x18_1[] = { 0x00, 0x00, 0x00, 0x38, 0x44, 0x82, 0x82, 0x80, 0x40, 0x20, 0x10, 0x08, 0x84, 0x82, 0xFE, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
            const unsigned char fonts_18x18_2[] = { 0x00, 0x00, 0x00, 0x3C, 0x42, 0x82, 0x80, 0x40, 0x38, 0x40, 0x80, 0x80, 0x82, 0x42, 0x3C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
            const unsigned char fonts_18x18_3[] = { 0x00, 0x00, 0x00, 0x00, 0xFC, 0x04, 0x04, 0x04, 0x04, 0xFC, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0xFF, 0x41, 0x41, 0x41, 0x41, 0x7F, 0x41, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };  // 每个数组占一行
        }
        
        const FontChar fonts_18x18[] = {
            // "1"
        {
            .name = "1",
            .width = 9,
            .height = 18,
            .data = detail::fonts_18x18_0
        },// "2"
        {
            .name = "2",
            .width = 9,
            .height = 18,
            .data = detail::fonts_18x18_1
        },// "3"
        {
            .name = "3",
            .width = 9,
            .height = 18,
            .data = detail::fonts_18x18_2
        },// "中"
        {
            .name = "中",
            .width = 18,
            .height = 18,
            .data = detail::fonts_18x18_3
        },
            // 结束标记
            {
                .name = nullptr,
                .width = 0,
                .height = 0,
                .data = nullptr
            },
        };
    }
}
#endif
